﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EstepLibrary;
using System.Data;


public partial class includes_systemWorks : System.Web.UI.UserControl
{
    EstepLibrary.GENELAYAR RSAyar = new EstepLibrary.GENELAYAR();
    EstepLibrary.Tool RSTool = new EstepLibrary.Tool();
    EstepLibrary.Veriler Kayitseti = new EstepLibrary.Veriler();

    protected void Page_Load(object sender, EventArgs e)
    {
        fillSystemWorks();
    }

    private void fillSystemWorks()
    {
        string sorgu = "SELECT MENUADI, ROW_NUMBER() OVER (ORDER BY SIRAYAN) AS 'SATIR' FROM MENULER WHERE USTID=" + RSAyar.ANAHABERID4;
        rptSystemWorks.DataSource = Kayitseti.GetDataSet(sorgu);
        rptSystemWorks.DataBind();
    }
    protected void rptSystemWorks_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
    
    }
}